//
//  ShanDongTool.h
//  XinTaiPub
//
//  Created by EmberWei on 2019/1/19.
//  Copyright © 2019 rzhy. All rights reserved.
//

#import <Foundation/Foundation.h>

#define ShanDong_GetCode_URL    @"https://yjt.sddingkao.com/ylt/api/v2/getcode"

#define ShanDong_AppKey         @"f8291ce1868741cf81503bb0f812590d"
#define ShanDong_AppSecret      @"107380A9087AE9778B737A2415DAC8EE"
#define ShanDong_Source         @"49517878-2"


NS_ASSUME_NONNULL_BEGIN

@interface ShanDongTool : NSObject

// 获取签名
+(NSString*)sign:(NSString*)module time:(NSString*)time;

// 获取参数 - 不带body
+(NSDictionary*)paramNoBody:(NSString*)module;

// 获取参数 - 带body
+(NSDictionary*)paramWithBody:(NSString*)module
                    name:(NSString*)name
                   idCard:(NSString*)idCard
                    phone:(NSString*)phone
                      sex:(NSString*)sex;

@end

NS_ASSUME_NONNULL_END
